package com.useful.core.http;

import org.springframework.http.MediaType;
import org.springframework.util.MimeType;

import java.nio.charset.Charset;
import java.util.Map;

/**
 * @author : wenchao.long
 * @date : Created in 2021/9/22 11:43 周三
 * @description :
 */
public class CustomerMediaType extends MediaType {

    private static final long serialVersionUID = 1892101375852852887L;

    public CustomerMediaType(String type) {
        super(type);
    }

    public CustomerMediaType(String type, String subtype) {
        super(type, subtype);
    }

    public CustomerMediaType(String type, String subtype, Charset charset) {
        super(type, subtype, charset);
    }

    public CustomerMediaType(String type, String subtype, double qualityValue) {
        super(type, subtype, qualityValue);
    }

    public CustomerMediaType(MediaType other, Charset charset) {
        super(other, charset);
    }

    public CustomerMediaType(MediaType other, Map<String, String> parameters) {
        super(other, parameters);
    }

    public CustomerMediaType(String type, String subtype, Map<String, String> parameters) {
        super(type, subtype, parameters);
    }

    public CustomerMediaType(MimeType mimeType) {
        super(mimeType);
    }

    public static final String APPLICATION_ZIP = "application/zip";
}
